package com.ece.core.teamcollabexplorer;

import org.eclipse.jface.action.IAction;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.IObjectActionDelegate;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.PlatformUI;

/**
 * This class takes care of all the logic associated with 
 * the parent OpenCollaborator menu item.
 * 
 * @author Keyur Hindocha
 *
 */
public class Action2 implements IObjectActionDelegate {

	public Action2() {
		// TODO Auto-generated constructor stub
	}

	@Override
	public void run(IAction action) {
	      MessageDialog.openInformation(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
	    	         "OpenCollaborator Code Review Process",
	    	         "OpenCollaborator Parent Action executed.");
	}

	@Override
	public void selectionChanged(IAction action, ISelection selection) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void setActivePart(IAction action, IWorkbenchPart targetPart) {
		// TODO Auto-generated method stub
		
	}

}
